package javaCode;

/**
 * Created by lxy_920912 on 01/04/2017.
 */
public class NiuKe29232 {
    public int countBitDiff(int m, int n) {
        int xm = m;
        int xn = n;
        int count = 0;
        while(xm != 1 || xn != 1){
            int modeM = xm % 2;
            int modeN = xn % 2;
            if(modeM != modeN){
                count++;
            }
            xm = xm/2;
            xn = xn/2;
        }
        return 0;
    }
}
